package com.dx.as.common;

/**
 * Created by jwaoo on 2017/5/25.
 */

public class JWResult<T> implements IResult<T>{

    private int code;
    private String msg;
    private T rst;

    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }

    @Override
    public T getRst() {
        return this.rst;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setRst(T rst) {
        this.rst = rst;
    }
}
